﻿using UnityEngine;
using System.Collections;

public class Menu : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () 
	{
	
	}

	void OnMouseEnter()
	{
		gameObject.transform.localScale+= new Vector3(0.1f,0.1f,0);

	}

	void OnMouseExit()
	{
		gameObject.transform.localScale+= new Vector3(-0.1f,-0.1f,0);

	}

	void OnMouseUpAsButton()
	{
		Application.LoadLevel("MENU");
	}
}
